PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Appearance Manager >

Programming With the Appearance Manager


Theme Window Type Constants

You may use the following constants of type ThemeWindowType to identify windows of specific visual categories to the Appearance Manager; see Drawing Theme-Compliant Windows for the functions that use the ThemeWindowType constants. The ThemeWindowType constants are available with Appearance Manager 1.1 and later.

enum {
    kThemeDocumentWindow        = 0,
    kThemeDialogWindow          = 1,
    kThemeMovableDialogWindow   = 2,
    kThemeAlertWindow           = 3,
    kThemeMovableAlertWindow    = 4,
    kThemePlainDialogWindow     = 5,
    kThemeShadowDialogWindow    = 6,
    kThemePopupWindow           = 7,
    kThemeUtilityWindow         = 8,
    kThemeUtilitySideWindow     = 9
};
typedef UInt16 ThemeWindowType;

Constant descriptions

k Theme DocumentWindow
A document window.
k Theme DialogWindow
A modal dialog box.
k Theme MovableDialogWindow
A movable modal dialog box.
k Theme AlertWindow
An alert box.
k Theme MovableAlertWindow
A movable alert box.
k Theme PlainDialogWindow
A plain modal dialog box. This window visually corresponds to that produced by the plainDBox pre-Appearance Manager window definition ID and does not change appearance by theme.
k Theme ShadowDialogWindow
A dialog box with shadowing.
k Theme PopupWindow
A pop-up window.
k Theme UtilityWindow
A utility window.
k Theme UtilitySideWindow
A utility window with a side title bar.

© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)